.class final Lcom/ninesky/widget/h;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnKeyListener;


# instance fields
.field private synthetic a:Lcom/ninesky/widget/g;


# direct methods
.method constructor <init>(Lcom/ninesky/widget/g;)V
    .locals 0

    iput-object p1, p0, Lcom/ninesky/widget/h;->a:Lcom/ninesky/widget/g;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onKey(Landroid/view/View;ILandroid/view/KeyEvent;)Z
    .locals 3

    invoke-static {}, Lcom/ninesky/widget/g;->d()Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "Widget.QuickAction"

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "onKey: "

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    :cond_0
    const/16 v0, 0x52

    if-ne p2, v0, :cond_1

    invoke-virtual {p3}, Landroid/view/KeyEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/ninesky/widget/h;->a:Lcom/ninesky/widget/g;

    invoke-virtual {v0}, Lcom/ninesky/widget/g;->c()V

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method
